//启动应用系统
var APM = Ember.Application.createWithMixins(Ember.Evented, {
	ui: {}
});

//加载应用系统依赖的模块代码
APM.deferReadiness();
require(["echarts/main"], function(){
	APM.advanceReadiness();
});

//配置进入应用系统后, 默认跳转的界面
APM.IndexRoute = Ember.Route.extend({
	redirect: function() {
		this.transitionTo("main");
	}
});